package com.atguigu.gulimall.product.feign.fallback;

import com.atguigu.common.utils.R;
import com.atguigu.gulimall.product.feign.MemberFeignService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class MemberFeignCallbackService implements MemberFeignService {
    @Override
    public R saveMember() {
        log.error("熔断方法");
        return R.error("调用了回调函数");
    }
}
